﻿using CarAppDomain.CarParts.Entities;
using CarAppDto.CarParts.CarPartsTypeDtos;
using D.UtilCore.Dtos;
using D.UtilSqlsugarOrm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarAppDomain.CarParts.IService
{
    /// <summary>
    /// 车系汽车配件类型
    /// </summary>
    public interface IVehicleSeriesCarPartsTypeService : IBaseService<VehicleSeriesCarPartsTypeEntity>
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="reqModel"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddVehicleSeriesCarPartsTypeAsync(ReqAddVehicleSeriesCarPartsType reqModel);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeleteVehicleSeriesCarPartsTypeAsync(List<string> ids);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="reqModel"></param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateVehicleSeriesCarPartsTypeAsync(ReqUpdateVehicleSeriesCarPartsType reqModel);

        /// <summary>
        /// 查询列表
        /// </summary>
        /// <param name="reqModel"></param>
        /// <returns></returns>
        Task<ApiResult<List<RepVehicleSeriesCarPartsType>>> QueryVehicleSeriesCarPartsTypeListAsync(ReqQueryVehicleSeriesCarPartsTypeList reqModel);

        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="reqQueryAdminPage"></param>
        /// <returns></returns>
        Task<ApiResult<PageModel<RepVehicleSeriesCarPartsType>>> QueryVehicleSeriesCarPartsTypePagesAsync(ReqQueryVehicleSeriesCarPartsTypePage reqQueryPage);

        /// <summary>
        /// 查询单个
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<RepVehicleSeriesCarPartsType>> GetVehicleSeriesCarPartsTypeAsync(string id);


    }
}
